//
//  WaitOrderModel.swift
//  Exchange
//
//  Created by rui on 2018/6/22.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

struct WaitOrderDetailModel: Codable {
    
    ///法币
    var currency: String?

    //广告id
    var id: Int?
    ///最小量
    var limitLowerMoney: Double?
    ///最大量
    var limitUpperMoney: Double?

    ///留言
    var message: String?
    ///币种
    var moneyType: String?

    ///用户头像
    var portrait: String?
    ///溢价
    var premium: Double?
    ///价格
    var price: Double?
    ///当前用户是否信任该用户 0 正常 1 信任
    var isBlack: Int?
    ///状态 (上架，下架)
    var status: Int8?
    ///类型（0购买  1出售）
    var type: Int8?
    ///广告用户id
    var userId: Int?
    ///用户名
    var userName: String?
    ///用户手机号
    var userPhone: String?
    ///聊天对方用户id
    var otherUserId: Int?
    ///广告会话id
    var waitOrderId: Int?
    
}
